package cn.tedu.peipei.base.exception;

import cn.tedu.peipei.base.enums.StatusCode;
import lombok.Getter;


public class ServiceException extends RuntimeException {
@Getter
    public StatusCode statusCode;

public ServiceException(){}
    public ServiceException(StatusCode statusCode){
    this.statusCode=statusCode;
    }
    public ServiceException(String massage){
    super(massage);
    }
    public ServiceException(Throwable cause){
    super(cause);
    }

}
